package com.gdones.bootserver.bus.log.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gdones.bootserver.bus.log.dto.Log;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-03-23
 */
@Mapper
public interface LogMapper extends BaseMapper<Log> {

    IPage<Log> myPage(Page<Object> of,@Param("syslog") Log syslog);

    List<String> getModels();
}
